<template>
  
  <el-table :data="storageData" style="width: 100%; margin-top: 20px">
          <el-table-column prop="drugCode" label="药品编码" />
          <el-table-column prop="drugName" label="药品名称" />
          <el-table-column prop="drugType" label="药品类别" />
          <el-table-column prop="productDate" label="生产日期" />
          <el-table-column prop="dateOfUse" label="保质期" />
          <el-table-column prop="storageNumber" label="库存量" />
          <el-table-column prop="drugFormat" label="规格" />
          <!-- <el-table-column prop="manufacturer" label="生产厂家" /> -->
          <!-- <el-table-column prop="indate" label="入库时间" /> -->
          <el-table-column  label="操作">
            <template #default="scope">
              <el-button link type="primary" size="small">
                详情
              </el-button>
              <el-button link type="primary" size="small">
                编辑
              </el-button>

              <el-button link type="primary" size="small">
                删除
              </el-button>
           
             
            </template>
          </el-table-column>
        </el-table>

        
</template>
<script setup>
import { reactive,defineProps,onBeforeUpdate,onUpdated } from "vue";
import { Delete,EditPen  } from '@element-plus/icons-vue'
import{useRouter} from 'vue-router'
const {storageData}=defineProps({
  storageData:Array
})


</script>
<style scoped></style>
